package com.dc.designPattern._0_设计原则._5_isp.step2;

/**
 * Description: B实现类，依赖接口：Interface1, Interface2
 * @author: gdc
 * @date: 2021/7/23
 * @version 1.0
 */
class B implements Interface1, Interface2 {

    @Override
    public void operation1() {
        System.out.println("B 实现了 operation1");
    }

    @Override
    public void operation2() {
        System.out.println("B 实现了 operation2");
    }

    @Override
    public void operation3() {
        System.out.println("B 实现了 operation3");
    }

}